package nl.vu.few.ibivu.biomodels.client.ui.cytoscapeweb;

import com.google.gwt.core.client.JavaScriptObject;

public class CytoscapeWebNode extends JavaScriptObject {
	protected CytoscapeWebNode() {}
	
	public final native String getBorderColor() /*-{ return this.borderColor; }-*/;
	public final native int getBorderWidth() /*-{ return this.borderWidth; }-*/;
	public final native String getColor() /*-{ return this.color; }-*/;
	public final native CytoscapeWebNodeData getData() /*-{
		if (!this.data)
			this.data = {};
		return @nl.vu.few.ibivu.biomodels.client.ui.cytoscapeweb.CytoscapeWebNodeData::new(Lcom/google/gwt/core/client/JavaScriptObject;)(this.data);
	}-*/;
	public final native CytoscapeWebGroup getGroup() /*-{
		return @nl.vu.few.ibivu.biomodels.client.ui.cytoscapeweb.CytoscapeWebGroup::valueOf2(Ljava/lang/String;)(this.group);
	}-*/;
	public final native int getOpacity() /*-{ return this.opacity }-*/;
	public final native CytoscapeWebNodeShape getShape() /*-{
		return @nl.vu.few.ibivu.biomodels.client.ui.cytoscapeweb.CytoscapeWebNodeShape::valueOf2(Ljava/lang/String;)(this.shape);
	}-*/;
	public final native int getSize() /*-{ return this.size; }-*/;
	public final native boolean getVisible() /*-{ return this.visible; }-*/;
	public final native int getX() /*-{ return this.x; }-*/;
	public final native int getY() /*-{ return this.y; }-*/;
}
